import Home from './components/Home.vue'
import User from './components/User.vue'
import Upload from './components/Upload.vue'
import News from './components/News.vue'
import Cate from './components/Cate.vue'
import Comment from './components/Comment.vue'
import Product from './components/Product.vue'
import Register from './components/Register.vue'


export const routes = [
    {path:'/',component:Home},
    {path:'/user',component:User,meta:{title:'用户管理'}},
    {path:'/upload',component:Upload,meta:{title:'上传管理'}},
    {path:'/news',component:News,meta:{title:'新闻管理'}},
    {path:'/Cate',component:Cate,meta:{title:'分类管理'}},
    {path:'/Comment',component:Comment,meta:{title:'评论管理'}},
    {path:'/Product',component:Product,meta:{title:'产品管理'}}
]